package org.langqiao.controlflow;

enum Season{
	SPRING,SUMMER,FALL,WINTER
}

public class EnumSwitch {
	
	public static void main(String[] args){
		Season s = Season.SPRING;
		switch (s) {
		case SPRING:
			System.out.println("春天");
			break;
		case SUMMER:
			System.out.println("夏天");		
			break;
		case FALL:
			System.out.println("秋天");
			break;
		case WINTER:
			System.out.println("冬天");
			break;
		default:
			break;
		}
	}
}
